/**
 * 
 */
package com.axdoc.baseinfo.dao;

import org.bson.types.ObjectId;

import com.axdoc.baseinfo.entity.Title;
import com.axdoc.common.core.pagination.PageInfo;
import com.axdoc.common.core.pagination.PageResults;

/**
 * @author yanhui
 *
 */
public interface ITitleMongoDao {
	/**
	 * 获取title信息
	 * @param doctorId
	 * @return
	 */
	public Title getTitle(ObjectId titleId);
	/**
	 * 分页查询信息
	 * @param name
	 * @param pageInfo
	 * @return
	 */
	public PageResults<Title> findTitlePage(String name ,PageInfo pageInfo);
	/**
	 * 通过名称获取职称信息
	 * @param name
	 * @return
	 */
	public Title getTitleByName(String name);
}
